﻿<%@ Page Title="View My Apps" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="ViewApps.aspx.vb" Inherits="iRateMyApp.ViewApps" %>

<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1><%: Title %>.</h1>
            </hgroup>
        </div>
    </section>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
        <Columns>
            <asp:BoundField DataField="AppName" HeaderText="AppName" SortExpression="AppName" />
            <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" />
            <asp:BoundField DataField="Category" HeaderText="Category" SortExpression="Category" />
            <asp:BoundField DataField="ItunesLink" HeaderText="ItunesLink" SortExpression="ItunesLink" />
            <asp:BoundField DataField="Pictures" HeaderText="Pictures" SortExpression="Pictures" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:AppsDatabaseConnectionString %>" ProviderName="<%$ ConnectionStrings:AppsDatabaseConnectionString.ProviderName %>" SelectCommand="SELECT [AppName], [Type], [Category], [Pictures], [ItunesLink] FROM [AppsDatabase]"></asp:SqlDataSource>
</asp:Content>
